<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>已预约</title>
    <link rel="stylesheet" href="../assets/css/common.css">
    <link rel="stylesheet" href="../assets/css/friends.css">
    <link rel="stylesheet" href="../assets/css/result.css">
</head>
<body>
<div class="box">
    <div id="content">
        <div id="carousel_wrap">
            <div id="carousel_images">
                <!-- 前后分别加上一张图片，方便无缝过渡显示。可以使用JS DOM增加节点操作省去该步骤 -->
                <img src="../assets/temporary/banner-1.png">
                <img src="../assets/temporary/banner-1.png">
                <img src="../assets/temporary/banner-1.png">
                <img src="../assets/temporary/banner-1.png">
            </div>
            <!--左右那2箭头-->
            <span class="arrow left-arrow">&lt;</span>
            <span class="arrow right-arrow">&gt;</span>
            <div id="dots">
                <!-- 使用小点标记实际多少张图片，要添加图片时需要修改carousel_images和此处 -->
                <span class="dot active"></span>
                <span class="dot"></span>
            </div>
        </div>
        <div class="weather-time">
            <div class="weather-box">
                <i><img id="weatherImg" src="../assets/temporary/sun.png"></i>
                <!--<span id="weatherCond">晴</span>-->
                <div>
                    <span id="weatherTemperature">36</span>
                    <p>
                        <b>℃</b>
                        <span>偃师</span>
                    </p>
                </div>
            </div>
            <p id="current"></p>
        </div>
    </div>
    <nav>
        <img src="../assets/images/index-time.png" >
        <div>
            <i></i>
            <p class="time"></p>
            <a href="index.html"><img src="../assets/images/index-home-btn.png" alt=""></a>
        </div>
    </nav>
    <div class="main-box">
       <div>
           <p><span id="countDown">5s后</span>返回首页</p>
           <i><img src="../assets/images/icon-booked.png" alt=""></i>
           <button>已购票，请凭身份证入馆！</button>
       </div>
    </div>
</div>
<script src="../assets/plugin/jquery.min.js"></script>
<script src="../assets/js/date.js"></script>
<!--轮播-->
<script src="../assets/js/friends.js"></script>
<!--天气-->
<!--<script src="../assets/js/weather.js"></script>-->
<script>
    var Os=document.getElementById("countDown");
    var num=5;
    var timer=setInterval(function () {
        num--;
        Os.innerText=num + 's后';
        if(num==0){
            window.location.href="index.html";
            clearInterval(timer)
        }
    },1000)
</script>
</body>
</html>
